package hspedu.learn.javabase.extendsImporve;

/**
 * @author zxl
 */
public class NotePad extends PesronComputer {

    private String color;

    public NotePad() {
    }

    public NotePad(String cpu, String memory, String disk, String brand, String color) {
        super(cpu, memory, disk, brand);
        this.color = color;
    }

    public NotePad(String color) {
        this.color = color;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getDetail() {
        return getDetails() + " color=" + color;
    }

}
